package com.sky.mapper;

import com.sky.entity.SetmealDish;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface SetmealDishMapper {
    @Select("select *from setmeal_dish where setmeal_id =#{id}")
    List<SetmealDish> bySetmealIdSelect(Long id);
    void insertSetmealDish(List<SetmealDish> setmealDishes);

    void deleteSetmealDish(List<Long> ids);

    @Select("select * from setmeal_dish where dish_id=#{id}")
    SetmealDish selectByDishId(Long id);

}
